//----------T_UploadFiles开始----------
using Dapper;
using System;
namespace R.DMS.Data
{

    /// <summary>
    /// 数据表实体类：上传文件管理
    /// </summary>
    [Table("T_UploadFiles")]
    public class UploadFilesEntity
    {

        /// <summary>
        /// Int32:编号
        /// </summary>                       
        [Key]
        public Int32 F_Id { get; set; }

        /// <summary>
        /// Int32:关联编号 外键
        /// </summary>                       
        public Int32 F_RelatedId { get; set; }

        /// <summary>
        /// Byte:文件类型 0未知、1合同、2项目、3专利、4政策
        /// </summary>                       
        public Byte F_FileType { get; set; }

        /// <summary>
        /// String:名称
        /// </summary>                       
        public String F_FileName { get; set; }

        /// <summary>
        /// String:文件相对地址
        /// </summary>                       
        public String F_FilePath { get; set; }

        /// <summary>
        /// String:文件后缀 .xls .pdf .doc等
        /// </summary>                       
        public String F_FileExt { get; set; }

        /// <summary>
        /// Boolean:无效标识  1无效、0有效
        /// </summary>                       
        public Boolean F_DeleteFlag { get; set; }

        /// <summary>
        /// DateTime:创建日期 默认为当前时间
        /// </summary>                       
        public DateTime F_CreateTime { get; set; }

        /// <summary>
        /// String:创建人编号 当前用户ID
        /// </summary>                       
        public String F_CreatorUserId { get; set; }

        /// <summary>
        /// String:备注
        /// </summary>                       
        public String F_Remark { get; set; }

        /// <summary>
        /// String:创建人姓名
        /// </summary>                       
        public String F_CreatorUserName { get; set; }

        /// <summary>
        /// 拼接地址
        /// </summary>
        [Editable(false)]
        public String F_Link { get; set; }

    }
}

//----------T_UploadFiles结束----------

